#include<stdio.h>
int aaa = 0;
int func(int number)
{
	int count = 0;
	for (int i = 2; i <= number; i++)
	{
		if (number % i == 0)
		{
			count++;
		}
	}
	if (count != 1)
	{
		printf("NOT");
	}
	else
	{
		printf("Ysa");
		aaa++;
	}
}

int main()
{
	for (int i = 1; i <= 10; i++)
	{
		func(i);
	}
	printf("%d",aaa);
	return 0;
}